package cn.mumzone.pos.model;

import cn.mumzone.pos.ui.widgets.FlowLayout;

/**
 * Created by sichaoqi on 2018/9/7.
 */

public class LevelListEntity extends FlowLayout.FlowLayoutEntity{

    /**
     * id : 1
     * companyId : 1
     * code : 01
     * name : 铜牌会员
     * upgradeType : 0
     * integral : 10
     */

    private String id;
    private String companyId;
    private String code;
    private String name;
    private String levelType;//0非初始  1初始
    private int upgradeType;
    private int integral;

    public String getLevelType() {
        return levelType;
    }

    public void setLevelType(String levelType) {
        this.levelType = levelType;
    }

    @Override
    public String getFlowName() {
        return getName();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUpgradeType() {
        return upgradeType;
    }

    public void setUpgradeType(int upgradeType) {
        this.upgradeType = upgradeType;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    @Override
    public String toString() {
        return "LevelListEntity{" +
                "id='" + id + '\'' +
                ", companyId='" + companyId + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", upgradeType=" + upgradeType +
                ", integral=" + integral +
                '}';
    }
}
